package com.hs.mysql.proxy.enums;

import lombok.Getter;

/**
 * @ClassName: DynamicDataSourceEnum
 * @author: hs
 * @date: 2020/5/8 11:32
 */
@Getter
public enum DynamicDataSourceEnum {

    MASTER("master"),

    SLAVE("slave");

    private String dataSourceName;

    DynamicDataSourceEnum(String dataSourceName) {
        this.dataSourceName = dataSourceName;
    }

}
